#include <iostream>
#include <memory>
#include <string>

#include "EpollServer.hpp"

std::string TaskFunc(const std::string& request)
{
    std::string response = "[server echo]:";
    response += request;
    return response;
}


int main()
{
    using namespace Epoll;
    std::unique_ptr<Server> ser(new Server(TaskFunc,8088));
    ser->Init();
    ser->Start();
    return 0;
}